class SomeGroovyClass implements GroovyInterceptable {

    def invokeMethod(String name, Object args) {
        return "called invokeMethod $name $args"
    }

    def test() {
        return 'method exists'
    }
}

def someGroovyClass = new SomeGroovyClass()


println(someGroovyClass.test())
println(someGroovyClass.someMethod())

